<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<meta name="format-detection" content="email=no">
	<meta name="applicable-device" content="mobile">
	<meta name="author" content="zhj" />
	<title>购物车</title>
	<link rel="apple-touch-icon" href="./img/logo100.png">
	<link rel="icon" href="../img/logo100.png">
	<link rel="stylesheet" type="text/css" href="../lisp/vant/css/vantCss.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../lisp/swiper/swiper.min.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../css/common.min.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../css/productDetails.css?rev=@@hash" />
	<!-- 自己的css -->
	<link rel="stylesheet" type="text/css" href="../css/shoppingCart.css?rev=@@hash" />

</head>

<body>
	<div class="hui"></div>
	<div class="bai"></div>
	<div class="hintInfo"></div>
	<div class="loadImgBox">
		<img class="loadImg" src="../img/load.gif?v= 7f0d7ae" />
	</div>
	<div id="app" class="main">
		<div class="order-info">
			<!--购买商品列表-->
			<van-list>
				<van-swipe-cell :right-width="65" :on-close="onClose" v-for="item in cartGoods.result" :key='item.goodsCode'>
					<van-cell>
						<div class="cellbox">
							<div class="checkboxcss">
								<van-checkbox v-model="item.check"></van-checkbox>
							</div>
							<div class="imgbox-s">
								<img v-lazy="item.imgUrl.indexOf('group1/M00')<0?item.imgUrl:item.imgUrl+'_150x8000.jpg'" />
							</div>
							<div class="productInfor">
								<div class="productName" v-text="item.goodsName"></div>
								<div class="describe">
									<span>规格：</span>
									<span v-text="item.specifications"></span>
								</div>
								<div class="cellbox">
									<div class="cellcenter">
										<span>￥</span><span v-text="item.isKill==0?item.secondKillPrice:item.sellingPrice"></span>
									</div>
									<van-stepper v-model="item.num" class="cellleft" />
								</div>
							</div>
						</div>
					</van-cell>
					<span slot="right" @click="deleteNum(item)">删除</span>
				</van-swipe-cell>
			</van-list>
			<div class="noGoodsBox" v-show="cartGoods.result.length==0">
				<img src="../img/shop/nogoods.png" />
			</div>
			<!--产品失效列表-->
			<van-list v-show="cartGoods.cartOutResult.length>0&&cartOutNum==2">
				<div class="cellcT">
					<div>失效商品</div>
					<div @click="clearOutGoods" class="modeleft">清空失效商品</div>
				</div>
				<van-cell v-for="item in cartGoods.cartOutResult">
					<div class="cellbox">
						<div class="imgbox-s invalidImg">
							<img src="../img/shoppingcart/Sellout.png" class="sellout">
							<img v-lazy="item.imgUrl.indexOf('group1/M00')<0?item.imgUrl:item.imgUrl+'_150x8000.jpg'" />
						</div>
						<div class="productInfor">
							<div class="productName" v-text="item.goodsName"></div>
							<div class="describe">
								<span>规格：</span>
								<span v-text="item.specifications"></span>
							</div>
							<div class="cellbox">
								<div class="cellcenter">
									<span>￥</span>
									<span v-text="item.sellingPrice"></span>
								</div>
							</div>
						</div>
					</div>
				</van-cell>
			</van-list>
			<!--猜你喜欢列表-->
			<div class="probably-like">
				<div class="maybe-like-box">
					<span class="maybe-like">猜你喜欢</span>
				</div>
				<div class="product-details-hot product-details-hot-false">
					<div class="product-hot needsclick" v-for="(item,index) in hot" v-show="item.isKill!==0" :key='index' @click.stop="toProduct(item.virtualGoodsCode,item.imgUrl,item.goodsName,item.isSelf)">
						<!-- <span v-if="item.isKill==0" class="product-sale-hot">秒杀</span>
						<span v-if="(!item.isHot||item.isHot==0)&&item.isKill==1" class="product-sale-hot">热卖</span> -->
						<img v-if="(!item.isHot||item.isHot==0)&&item.isKill==1" class='product-sale-hot-img' src="../img/index/hotProduct.png" alt="hot">
						<img v-if="item.isKill==0" class='product-sale-kill-img' src="../img/index/setTimeKill.png" alt="限时秒杀">
						<div class="productBox-recommend">
							<img :id="'index'+index" v-lazy="item.imgUrl.indexOf('group1/M00')<0?item.imgUrl:item.imgUrl+'_600x8000.jpg'" />
						</div>
						<img class="product-line" src="../img/product/line.png" />
						<div class="product-hot-division"></div>
						<div class="product-hot-info">
							<span v-if="(!!item.isHot&&!!item.isSelf)&&item.isKill==1" class="product-tm-hot">天猫</span>
							<span v-text="item.goodsName"></span>
						</div>
						<div class="product-hot-price">
							<!--推荐商品 - 秒杀跳转app无法实现正常流程 所以没有秒杀商品-->
							<span v-show="item.isKill==1">¥<i v-text='!!isFx?item.minPrice:item.lowSellingPrice'></i><u class="product-hot-get-price" v-show='!!isDz'><i>/</i><u>赚{{item.minCommission}}</u></u></span>
							<span v-show="item.isKill==0">秒 ¥<i v-text='item.minPrice'></i></span>
							<span class="no-price">¥<i v-text='item.lowMarketPrice'></i></span>
							<span v-show="!!item.lowVipPrice&&item.isKill==1">
								<img class="product-hot-vipImg" src="../img/product/viplist.png" />
								<u v-text='item.lowVipPrice'></u>
							</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		<van-submit-bar @submit="submitData" :price="cartGoods.price*100" button-text="结算">
			<van-checkbox v-model="checked" class="bottomleft">全选</van-checkbox>
		</van-submit-bar>
		<!--tabbar-->
		<van-tabbar v-model="active">
			<van-tabbar-item icon="chat" @click="location.href='index.html'">
				<span>首页</span>
				<img slot="icon" slot-scope="props" :src="props.active ? icon.active : icon.normal">
			</van-tabbar-item>
			<van-tabbar-item v-show='versions>1.1' icon="chat" @click="location.href='PtIndex.html?GroupType=common_pt_groupon'">
				<span>拼团</span>
				<img slot="icon" slot-scope="props" :src="props.active?icon.active3 : icon.normal3">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='shoppingCart.html'">
				<span>购物车</span>
				<img slot="icon" slot-scope="props" :src="props.active? icon.active1 : icon.normal1">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='FPtVoteGoods.html'">
					<span>票选优品</span>
					<img slot="icon" slot-scope="props" :src="props.active? icon.active4 : icon.normal4">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='my.html'">
				<span>我的</span>
				<img slot="icon" slot-scope="props" :src="props.active ? icon.active2 : icon.normal2">
			</van-tabbar-item>
		</van-tabbar>
	</div>
</body>
<script src="../lisp/jquery-2.1.4.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/fastclick.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vue.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vant/js/vantJs.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vue-lazyload.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../js/constant.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../js/common.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<!-- 自己的js -->
<script src="../js/shoppingCart.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>

</html>
